﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PostSharp.Extensibility;
using Young3.FMSearch.Core.Entities.InGame;
using Young3.FMSearch.Core.Managers;
using System.Reflection;

namespace Young3.FMSearch.Core.Attributes
{
    [Serializable]
    [MulticastAttributeUsage(MulticastTargets.Method | MulticastTargets.InstanceConstructor | MulticastTargets.StaticConstructor, AllowMultiple = true)]
    [RequirePostSharp("FMSE.FMPointerWeaver", "FMSE.FMPointerWeaver")]
    internal class FMPointerAttribute: MulticastAttribute// : OnMethodInvocationAspect
    {
        private Type PropertyReturnType { get; set; }
        private bool IsGetter { get; set; }

        public int Offset { get; internal set; }

        public FMPointerAttribute(int offset)
        {
            this.Offset = offset;
        }
    }
}
